package com.yangrong.userservice.feign;

import com.yangrong.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("news-third-service")
public interface ThirdServiceFeignService {

    @GetMapping("/sms/getSmsCode")
    public R getSmsCode(@RequestParam("phone") String phone, @RequestParam("code") String code);

}
